package com.wdh.monitor.cfg;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@Data
@ConfigurationProperties(prefix = "com.wdh.monitor.mongo")
public class MongoProperties {

    private String url;

    private String appName;
}
